{% set home_href = pathto(master_doc) %}
<div>
    <a href={{ home_href }}>
        <strong>Back to Homepage ↵</strong>
    </a>
</div>